import { h } from 'vue';
import { NAvatar, NTag } from 'naive-ui';

export const columns = [
  {
    title: '工号',
    key: 'TID',
    width: 100,
  },
  {
    title: '名字',
    key: 'name',
    width: 100,
  },
  {
    title: '职务',
    key: 'job',
    width: 100,
    render(row){
      return row.job?'教师':'档案管理员'
    }
  },
  {
    title: '学院',
    key: 'academyName',
    width: 100,
  }
];
